package com.zy.untils;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.orhanobut.logger.Logger;

public class MyLog {
   static boolean show=true;
   static boolean showError=true;
   static String tag="zy";
    public static void d(Object object){
        Logger.d(object);
    }

    public static void i(@NonNull String message, @Nullable Object... args){
        Logger.i(tag+message,args);
    }


    public static void y(Object object){
        if(show){

            Logger.d(tag+object);
        }
    }
    public static void e(@NonNull String message, @Nullable Object... args){
        if(showError){

            Logger.e(tag+message,args);
        }
    }
}
